<template>
	<view>
		<u-row>
			<u-col span="6" offset="3">
				<view class="ku-text-content">
					<customEmpty ref="customEmptyRef" :iconStr='iconStr' subText='产品出库成功' class="ku-margin-top-280">
					</customEmpty>

					<u-button type="primary" :plain="true" text="返回首页" shape="circle" @click="goHome"
						class="ku-margin-top-40"></u-button>
					<u-button type="primary" text="继续扫描" shape="circle" color="linear-gradient(to right,#235EFF, #235EFF)" class="ku-margin-top-20" @click="toOutboundDetails"></u-button>
				</view>

			</u-col>
		</u-row>
		
	</view>
</template>

<script>
	import customEmpty from "@/components/customEmpty";
	export default {
		components: {
			customEmpty,
		},
		data() {
			return {
				iconStr: require("@/static/images/icon-success.png"),
				deliveryNoteID:'',
			};
		},
		/*
		 * 生命周期函数--监听页面加载
		 */
		onLoad(options) {
			// 当前页面参数
			this.deliveryNoteID = options.deliveryNoteID;
		},
		
		/**
		 * 生命周期函数--监听页面显示
		 */
		onShow() { 
		},
		/**
		 * 生命周期函数--监听页面显示
		 */
		methods: {
			goHome(){
				this.$navTo('pages/warehouse/home', {})
			},
			// 确认关闭弹出框
			toOutboundDetails() {
				this.$navTo('pages/warehouse/outboundDetails', {deliveryNoteID:this.deliveryNoteID})
			},
			
		}
	}
</script>

<style lang="scss">

</style>